package ynu.edu.online_course.service;

import ynu.edu.online_course.entity.Chapter;

import java.util.List;

public interface ChapterService {
    List<Chapter> getChaptersByCourseId(Long courseId);
    void addChapter(Chapter chapter);
    void updateChapter(Chapter chapter);
    List<Chapter> getSubChapters(Long parentId);
}
